package com.alu4r.atcrowdfunding.manager.service;

import com.alu4r.atcrowdfunding.bean.Permission;

import java.util.List;

public interface PermissionService {

    List<Permission> queryAllPermission();

    boolean insertPermission(Permission permission);

    Permission getPermission(Integer id);

    boolean updatePermission(Permission permission);

    boolean deletePermission(Integer id);

    List<Integer> queryPermissionIdByRoleId(Integer roleId);
}
